package com.qf.model;

import java.math.BigDecimal;

public class Banktable {
    //银行流水模型
    private  int id;
    private String cid;  //银行卡号
   private BigDecimal amountMoney;  // 存款金额
    private double rate;  //存款利率
    private String date;  //存入的期限
    private String amountTime;  //存款时间
    private int uid;

    public Banktable() {
    }

    public Banktable(int id, String cid, BigDecimal amountMoney, double rate, String date, String amountTime, int uid) {
        this.id = id;
        this.cid = cid;
        this.amountMoney = amountMoney;
        this.rate = rate;
        this.date = date;
        this.amountTime = amountTime;
        this.uid = uid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    @Override
    public String toString() {
        return "Banktable{" +
                "id=" + id +
                ", cid=" + cid +
                ", amountMoney=" + amountMoney +
                ", rate=" + rate +
                ", date='" + date + '\'' +
                ", amountTime=" + amountTime +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid;
    }

    public BigDecimal getAmountMoney() {
        return amountMoney;
    }

    public void setAmountMoney(BigDecimal amountMoney) {
        this.amountMoney = amountMoney;
    }

    public double getRate() {
        return rate;
    }

    public void setRate(double rate) {
        this.rate = rate;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getAmountTime() {
        return amountTime;
    }

    public void setAmountTime(String amountTime) {
        this.amountTime = amountTime;
    }
}
